package cn.cy.structure.bridge.general;

/**
 * @author yangxq
 * @desc
 * @date 2025-05-12
 */
public class TV {

    private String brand;

    public TV(String brand) {
        this.brand = brand;
    }

    public void turnOn() {
        System.out.println(brand + " TV is turned on.");
    }

    public void turnOff() {
        System.out.println(brand + " TV is turned off.");
    }

}
